<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>Bootstrap 实例 - 基本表单</title>
    <link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css">
    <script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
    <script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>
<body>

<form role="form" action="{{url('/editor')}}" method="post" style="margin: 20px 20px ;width:500px">
    {{csrf_field()}}
    <div class="form-group">
        <label for="name"><h4>输入新游戏名称:</h4></label>

        <input type="hidden" name="id" value="{{$data->id}}">
        游戏名称：<input type="text" class="form-control" name="name" value="{{$data->name}}"
                    placeholder="请输入游戏名称">
    </div>
    <button type="submit" class="btn btn-default">提交</button>
</form>

</body>
</html>
